import base from '../utils/base.js'
import * as axios from '../utils/http.js'

const milestone = {
    selectPages(data, callback){
        data["type"] = "milestone";
        return axios.get(`${base.rq}/page/selectPages`, data,{}).then(res => {
            callback(res);
        }, () => {

        })
    },
    selectSketchPages(data, callback){
        data["type"] = "milestone";
        return axios.get(`${base.rq}/page/selectSketchPages`, data,{}).then(res => {
            callback(res);
        }, () => {

        })
    },
}

export default milestone
